package com.smarth.zhizulian.entity;

/**
 * Created by 18865 on 2017/12/26.
 */

public class EventBean<T> {
    private int code;
    private String desc;
    private T body;

    public EventBean() {
    }

    public EventBean(int code) {
        this.code = code;
    }

    public EventBean(String desc) {
        this.desc = desc;
    }

    public EventBean(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public EventBean(int code, String desc, T body) {
        this.code = code;
        this.desc = desc;
        this.body = body;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
